﻿@model FantasyBlog.Models.LogOnModel
@{
    Layout="";
 }
    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>@ProviderAFactory.SiteMetaData["site-title"] &rsaquo; 登录</title>
<link rel='stylesheet' id='login-css'  href="@Url.Content("~/Content/themes/base/Login.css")" type='text/css' media='all' />
<link rel='stylesheet' id='colors-fresh-css'  href="@Url.Content("~/Content/themes/base/colors-fresh.css")" type='text/css' media='all' />
<style type="text/css" media="screen">
    * { font: 12px Segoe UI,Tahoma,Arial,Verdana,simsun,sans-serif,"Microsoft YaHei"; }
</style>
<meta name='robots' content='noindex,nofollow' />
</head>
<body class="login">

<div id="login"><h1><a href="@Url.Content("~/Post/")" title="Fantasy Blog">@ProviderAFactory.SiteMetaData["site-title"]</a></h1>
@if(Model!=null){
    <div id="login_error">	
        <strong>错误</strong>：<strong>@Model.UserName</strong> 的密码不正确。<br />
    </div>
}

<form name="loginform" id="loginform" action="/Account/LogIn" method="post">
	<p>
		<label>用户名<br />
		<input type="text" name="UserName" id="UserName" class="input" value="" size="20" tabindex="10" /></label>
	</p>
	<p>
		<label>密码<br />
		<input type="password" name="Password" id="Password" class="input" value="" size="20" tabindex="20" /></label>
	</p>
	<p class="forgetmenot"><label><input name="RememberMe" type="checkbox" id="rememberme" value="forever" tabindex="90" /> 记住我的登录信息</label></p>
	<p class="submit">
		<input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="登录" tabindex="100" />
		<input type="hidden" name="redirect_to" value="@ViewBag.RedictTo" />
    </p>
</form>
<p id="backtoblog"><a href=@Url.Content("~/Post/") title="不知道自己在哪？">&larr; 回到 @ProviderAFactory.SiteMetaData["site-title"]</a></p>
</div>



</body>
</html>

